package learn.arc.dubbo;

/**
 * @Description:
 * @Version 1.0, 2021/12/15
 * @Author Tim
 */
public class AobingServiceImpl implements AobingService {
    public static void main(String[] args) throws Exception {
        //服务提供者只需要暴露出接口
        AobingService service = new AobingServiceImpl ();
        AobingRpcFramework.export(service, 2333);
    }

    @Override
    public String hello(String name) {
        return "Yo man Hello，I am" + name;
    }
}
